package com.example.zjz.javaconcurrence.demo.guardedblocks;

/**
 * @author Zhang Jinzhong
 * @version V1.0
 * @since 2019-01-28 15:13
 */
public class ProducerConsumerExample {
    public static void main(String[] args) {
        Drop drop = new Drop();
        (new Thread(new Producer(drop))).start();
        (new Thread(new Consumer(drop))).start();
    }
}
